package git.soulbgm.config;

import git.soulbgm.pojo.StatisticsInfo;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

/**
 * 统计配置
 *
 * @author SoulBGM
 * @date 2024-09-20
 */
@Configuration
@ConfigurationProperties(prefix = "statistics", ignoreUnknownFields = false)
public class StatisticsConfig {

    /**
     * 统计信息
     */
    private Map<String, StatisticsInfo> infos;

    public Map<String, StatisticsInfo> getInfos() {
        return infos;
    }

    public void setInfos(Map<String, StatisticsInfo> infos) {
        this.infos = infos;
    }
}
